package com.qf.service;

import com.qf.pojo.DevUser;

import javax.mail.MessagingException;

public interface DevUserService {
    Integer checkUsername(String username);
    void register(DevUser devUser) throws MessagingException;

    void active(String devUsername, String code);

    void resendActiveMail(String devUsername) throws MessagingException;
    DevUser login(String devUsername, String devPassword);
}

